#ifndef _GZP6847_H
#define _GZP6847_H

#include "stm32f10x.h"









//泵、电磁阀相关
#define MOTOR PAout(6)	
#define SOLENOID PAout(7)

#define MOTOR_ON 1
#define MOTOR_OFF 0
#define SOLENOID_ON 1
#define SOLENOID_OFF 0

extern unsigned char Press_TEST_FLAG;

void Motor_Levle(u16 level) ;//等级  1- 99
void Motor_Ctrl(u8 ctrl);
void Solenoid_Ctrl(u8 ctrl) ;

void GZP6847Init(void);
u16 GetGZP6847Num(u8 AveNum);

#endif